5019a099db675115b09a188397700c907165661e,plugins/org.eclipse.xtext.common.types/src/org/eclipse/xtext/common/types/access/binary/asm/Proxies.java,Proxies,createAnnotationValue,#Object#,185
Before Change
if (valueClass == Type.class) {
JvmTypeAnnotationValue result = TypesFactory.eINSTANCE.createJvmTypeAnnotationValue();
Type type = (Type) value;
String typeName = type.getSort() == Type.OBJECT ? type.getInternalName() : type.getDescriptor();
((InternalEList<JvmTypeReference>) result.getValues()).addUnique(createTypeReference(BinarySignatures.createTypeSignature(typeName), null));
return result;
}
After Change
JvmTypeAnnotationValue result = TypesFactory.eINSTANCE.createJvmTypeAnnotationValue();
Type type = (Type) value;
BinaryTypeSignature signature;
if (type.getSort() == Type.OBJECT) {
String typeName = type.getInternalName();
signature = BinarySignatures.createObjectTypeSignature(typeName);
} else {
String typeName = type.getDescriptor();